#ifndef __DW_QSPI_H__
#define __DW_QSPI_H__

#include <stdint.h>
#include <stdarg.h>

#define write32(addr, val)		(*(((unsigned int *)(addr))) = (val))
#define read32(addr)	    (*((volatile unsigned int *)(addr)))

#define soc_top_csr (0x100000000)
#define misc_cfg_regs (0x100000800)
#define soc_top_efuse  (0xD0098800)
#define SCU_BASE_ADDR  (0xD0010000)
#define SCU_EXT_ADDR  (0x1DC)

int32_t qspi_flash_test(void);

#endif  /* __UART_H__ */
